package com.csnf.order.feign.fallback;


import com.csnf.order.feign.ProductFeignClient;
import com.csnf.pojo.Product;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignFallback implements ProductFeignClient {

    @Override
    public Product getProductById(Integer id) {
        Product product = new Product(0,"未知商品",0,0);
        return product;
    }



}
